const fs = require("fs");

module.exports = function(reqinfo, res){
    console.log("START!")
	//获取到参数
	// console.log(reqinfo.query);
	// let query = reqinfo.query;
	//请求数据库文件
	let data = fs.readFileSync(__dirname + "../../databases/seclist.json");
	console.log(data);
	res.setHeader("Content-Type","text/plain; charset=utf8");
	res.write(data);
	res.end();
}